<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib  prefix="c"  uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>

 <form action="./registerPerson.do"  enctype='application/json'>
  <p>注册</p>
  <p>username<input type="text" name="username" /></p> 
  <p>sex<input type="text" name="sex" /></p>
  <p>age<input type="text" name="age" /></p>
  <p>worktype<input type="text" name="worktype" /></p> 
  <p>sn<input type="text" name="sn" /></p>
  <p>level<input type="text" name="level" /></p> 
  <p>cardid<input type="text" name="cardid" /></p>
  <p>userid<input type="text" name="userid" /></p>
  <p>picture<input type="text" name="picture" /></p> 
  <p>memo<input type="text" name="memo" /></p>
  
  <input type="submit" value="Submit" />
</form>
 <form action="./delPerson.do" method="get">
  <p>删除:</p>
 <label>input复选id组：</label>
	<input type="checkbox" name="ids" value="3" />id复选1
	<input type="checkbox" name="ids" value="4"/>id复选2
  <input type="submit" value="Submit" />
</form>

 <form action="./updateByPerson.do" method="get">
  <p>修改:</p>
  <p>id<input type="text" name="id" /></p> 
  <p>username<input type="text" name="username" /></p> 
  <p>sex<input type="text" name="sex" /></p>
  <p>age<input type="text" name="age" /></p>
  <p>worktype<input type="text" name="worktype" /></p> 
  <p>sn<input type="text" name="sn" /></p>
  <p>level<input type="text" name="level" /></p> 
  <p>cardid<input type="text" name="cardid" /></p>
  <p>userid<input type="text" name="userid" /></p>
  <p>picture<input type="text" name="picture" /></p> 
  <p>memo<input type="text" name="memo" /></p>
  <input type="submit" value="Submit" />
</form>


 <form action="./getByPerson.do" method="get">
  <p>查询:</p>
  <p>username<input type="text" name="username" /></p> 
  <p>sex<input type="text" name="sex" /></p>
  <p>age<input type="text" name="age" /></p>
  <p>worktype<input type="text" name="worktype" /></p> 
  <p>sn<input type="text" name="sn" /></p>
  <p>level<input type="text" name="level" /></p> 
  <p>cardid<input type="text" name="cardid" /></p>
  <p>userid<input type="text" name="userid" /></p>

  
  <input type="submit" value="Submit" />
</form>

 <form action="./chemical/uploadpicture.do" method="post" enctype="multipart/form-data">
 <p>图片上传</p>
  <img src="http://localhost/images/worker.png" alt="" id="icon" width="50px" height="50px"/>  
   选择文件:<input type="file" name="file">
   
    <p>userid<input type="text" name="userid" /></p>
    <input type="submit" value="上传"> 
 </form>
</body>

<script type="text/javascript">
//上传图片

</script>
</html>